package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "用户注册对象",description = "用户注册请求对象")
@Data
public class UserRegisterRequest {

    @ApiModelProperty(value = "昵称",example = "骑猪去兜风")
    private String name;

    @ApiModelProperty(value = "密码",example = "123456")
    private String pwd;

    @ApiModelProperty(value = "头像",example = "https://xdclass-user-service-img-shop.oss-cn-shenzhen.aliyuncs.com/user/2024/03/07/87ec93416b2444f8b1e6d31d6bcc7dfd.jpeg")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty(value = "用户个性签名",example = "大胆闯，别墅才会大幢")
    private String slogan;

    @ApiModelProperty(value = "0表示女，1表示男",example = "1")
    private String sex;

    @ApiModelProperty(value = "邮箱",example = "992480187@qq.com")
    private String mail;

    @ApiModelProperty(value = "验证码",example = "235643")
    private String code;

}
